import React from "react";

export default ({ title,isActive }) => {

    if(isActive){
        return (
            <div style={{
                height: 80,
                padding: 20,
                alignItems: "center",
                background: '#fff',
                color:"#666",
                fontSize:24,
            }}>
                {title}
            </div>

        );
    }else {
        return (
            <div style={{
                height: 80,
                padding: 20,
                alignItems: "center",
                background: '#f5f5f5',
                color:"#666",
                fontSize:24,
            }}>
                {title}
            </div>

        );
    }

};
